Skip to content

Conversation

@izeye
Copy link
Contributor

@izeye izeye commented Apr 26, 2019

This PR polishes ConfigurationPropertyName.dashIgnoringElementEquals() by avoiding repeating indexed2 boolean checks in the loop as checking it only once seems sufficient.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Apr 26, 2019
@dreis2211
Copy link
Contributor

dreis2211 commented Apr 26, 2019

True - actually the default element equals has the same "problem". That was still on my list of things to do. Unfortunately, it doesn't really buy as much in terms of performance. Which is why I left it as is initially.

@philwebb philwebb added type: task A general task and removed status: waiting-for-triage An issue we've not yet triaged labels Apr 26, 2019
@philwebb philwebb added this to the 2.2.x milestone Apr 26, 2019
philwebb pushed a commit that referenced this pull request Jun 1, 2019
philwebb added a commit that referenced this pull request Jun 1, 2019
@philwebb philwebb closed this in 9ad1934 Jun 1, 2019
@philwebb
Copy link
Member

philwebb commented Jun 1, 2019

Thanks @izeye and @dreis2211! I've pushed this to master and also aligned defaultElementEquals

@philwebb philwebb modified the milestones: 2.2.x, 2.2.0.M4 Jun 1, 2019
@izeye izeye deleted the polish-20190427 branch June 1, 2019 23:10
wilkinsona pushed a commit to wilkinsona/spring-boot that referenced this pull request Jun 4, 2019
wilkinsona pushed a commit to wilkinsona/spring-boot that referenced this pull request Jun 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: task A general task

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants